<%@ Page Language="C#" MasterPageFile="~/MasterPage3.master" AutoEventWireup="true" CodeFile="ReporteProductos.aspx.cs" Inherits="ReporteProductos" EnableEventValidation="false"  %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="C_ReporteProductos" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset>
        <legend>Reporte Empleados</legend>
        <table>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Label ID="lb_nombre" runat="server" CssClass="label" Text="Nombre:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_nombre" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
                <td>
                </td>
                <td>
                    <asp:Label ID="lb_marca" runat="server" CssClass="label" Text="Marca:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_marca" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
                <td>
                </td>
                <td>
                    <asp:Label ID="lb_modelo" runat="server" CssClass="label" Text="Modelo:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_modelo" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Label ID="lb_familia" runat="server" CssClass="label" Text="Familia Producto:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_familia" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td class="derecha">
                </td>
                <td class="derecha">
                </td>
                <td class="derecha">
                </td>
                <td class="derecha">
                    <asp:ImageButton ID="ib_reporte" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/lupa.png"
                        OnClick="ib_reporte_Click" ToolTip="Generar Reporte" /><asp:ImageButton ID="ib_cancelar" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/cancel.png"
                        ToolTip="Cancelar" OnClick="ib_cancelar_Click" /></td>
            </tr>
        </table>
        <cc1:FilteredTextBoxExtender ID="ftbe_familia" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
            TargetControlID="tb_familia" ValidChars=" ">
        </cc1:FilteredTextBoxExtender>
        <cc1:FilteredTextBoxExtender ID="ftbe_producto" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
            TargetControlID="tb_nombre" ValidChars=" ">
        </cc1:FilteredTextBoxExtender>
        <cc1:FilteredTextBoxExtender ID="ftbe_modelo" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Numbers, Custom"
            TargetControlID="tb_modelo" ValidChars=" -&">
        </cc1:FilteredTextBoxExtender>
        <cc1:FilteredTextBoxExtender ID="ftbe_marca" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
            TargetControlID="tb_marca" ValidChars=" -">
        </cc1:FilteredTextBoxExtender>
        &nbsp; &nbsp;
        
    </fieldset>
    <fieldset>
        <legend>Reporte</legend>
        <table>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                    <CR:CrystalReportViewer ID="Reporte_Productos" runat="server" AutoDataBind="true"
                        ReportSourceID="CrystalReportSource1" DisplayGroupTree="False" Height="799px" Width="1013px" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                    <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                        <Report FileName="Reportes\ReporteProducto.rpt">
                        </Report>
                    </CR:CrystalReportSource>
                </td>
            </tr>
        </table>
        
    </fieldset>
</asp:Content>
